﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Navigation;
using Microsoft.Phone.Controls;
using Microsoft.Phone.Shell;
using LightOMator.Resources;
using Windows.Phone.System.UserProfile;
using Microsoft.Xna.Framework.Media;
using System.IO;
using Windows.Storage;
using Windows.Storage.FileProperties;
using System.Windows.Media.Imaging;
using Microsoft.Phone;
using LightOMator.Helper;
using LightOMator.ViewModel;

namespace LightOMator
{
    public partial class MainPage : PhoneApplicationPage
    {


        // Constructor
        public MainPage()
        {
            InitializeComponent();
        }


        protected override void OnNavigatedTo(NavigationEventArgs e)
        {
            base.OnNavigatedTo(e);
            BusyViewModel vm = DataContext as BusyViewModel;
            if (vm != null)
            {
                vm.OnNavigatedTo(e);
            }
        }

    }

    
}